package com.wanhua.pojo;

import org.springframework.stereotype.Component;

//用户实体类
@Component
public class User {
    //用户id
    private Long id;
    //用户名
    private String  username;
    //用户密码
    private String password;
    //用户年龄
    private Integer age;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
